package van.planifolia.factory.abstractfactory;

/**
 * Created by Intellij IDEA<br>
 *
 * @author Planifolia.Van
 * @version 1.0
 * @date 2022/11/8 18:15
 */
public class Test {
    public static void main(String[] args) {
        // 创建一台dell的笔记本电脑
        DellFactory dellFactory = new DellFactory();
        dellFactory.createNoteBook();
        // 创建一台mi的笔记本电脑
        MiFactory miFactory = new MiFactory();
        miFactory.createNoteBook();
    }
}
